<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
	<HEAD>
		<TITLE>论坛管理</TITLE>
		
	</HEAD>
	<BODY>
		<DIV>
			
		</DIV>
		<DIV class="h">
			<TABLE cellSpacing="0" cellPadding="0" width="100%">
				<TR class="tr2" align="left">
					<TD colSpan="2" style="WIDTH: 70%;">
						您好：${sessionScope.user.username } &nbsp;| &nbsp;
						<A href="userLogout.action">退出系统</A>
					</TD>
					<TD style="WIDTH: 30%;">
						<A href="findListTipByuserid.action">用户帖子列表</A>|
					    <A href="findParentBoard.action">添加子版块</A>
				</TR>
			</TABLE>
		</DIV>
	<br />
			<DIV>
				&gt;&gt;
				<B><a href="getIndexInfo.action">论坛首页</a>
				</B>
			</DIV>
			<br />
			<DIV class="t">
				<TABLE cellSpacing="0" cellPadding="0" width="100%">
					<TR class="tr2" align="center">
						<TD colSpan="2" style="WIDTH: 50%;">
							论坛
						</TD>
						<TD style="WIDTH: 5%;">
							帖子
						</TD>
						<TD style="WIDTH: 25%">
							最后发表
						</TD>
						<TD style="WIDTH: 20%;">
							操作
						</TD>
					</TR>
					<s:iterator value="listInfos">
					<TR class="tr3">
						<TD colspan="4">
						<s:property value="key"/>
						</TD>
						<TD colspan="4" align="center">
						&nbsp;
						</TD>
					</TR>
					<s:iterator value="value">
					<TR class="tr3">
						<TD width="5%">
							&nbsp;
						</TD>
						<TH align="left">
							
							<A href="findTipsByBoard.action?boardId=<s:property value="boardid"/>"><s:property
												value="boardname" /></A>
						</TH>
						<TD align="center"><s:property value="tipCount" /></TD>
						<TH>
							<SPAN><A href="findReplyByTipid.action?boardId=<s:property value="boardid"/>&topicId=<s:property value="tipid"/>">
												<s:property value="title" /></A> </SPAN>
							<BR />
							<SPAN> <s:property value="username" /></SPAN>
							<SPAN class="gray"><s:property value="publishtime" /></SPAN>
						</TH>
						<TD align="center">
							<A href="/alex_blog1/blog/updateBoard.jsp?parentId=<s:property value="parentid"/>&boardId=<s:property value="boardid"/>">修改</A>|
							<A href="boarddelete.action?boardId=<s:property value="boardid"/>">删除</A>
						</TD>
					</TR>
						</s:iterator>
					</s:iterator>
				</TABLE>
			</DIV>
		<div>
			<jsp:include page="bottom.jsp"></jsp:include>
		</div>
	</BODY>
</HTML>